* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #000000;
    padding: 20px;
    color: #ffffff;
}

.container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    background-color: #121212;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: 20px;
}

.header-buttons {
    display: flex;
    gap: 10px;
}

.left-buttons {
    display: flex;
    gap: 10px;
}

h1 {
    text-align: center;
    margin-bottom: 0;
    flex-grow: 1;
    color: #ffffff;
}

.import-btn {
    padding: 8px 12px;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.import-btn:hover {
    background-color: #0b7dda;
}

.action-btn {
    padding: 8px 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.action-btn:hover {
    background-color: #45a049;
}

#copyAndClearBtn {
    background-color: #f44336;
}

#copyAndClearBtn:hover {
    background-color: #d32f2f;
}

.task-input {
    display: flex;
    margin-bottom: 20px;
}

.task-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    background-color: #1e1e1e;
    color: #ffffff;
}

.task-input button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.task-input button:hover {
    background-color: #45a049;
}

.task-list {
    list-style-type: none;
}

.task-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #333;
    transition: all 0.3s ease;
    text-align: center;
    justify-content: center;
    position: relative;
}

.task-item:hover {
    background-color: #1a1a1a;
}

.task-content {
    word-break: break-word;
    text-align: center;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.task-item.position-1 .task-content {
    font-size: 176px;
    font-weight: bold;
    line-height: 1.3;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    width: 100%;
    max-width: 100%;
}

.task-item.position-2 .task-content {
    font-size: 68px;
    line-height: 1.3;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    width: 80%;
    max-width: 80%;
}

.task-item.position-3 .task-content {
    font-size: 30px;
    line-height: 1.3;
    width: 60%;
    max-width: 60%;
}

.task-item.position-4 .task-content {
    font-size: 12px;
    line-height: 1.3;
    opacity: 0.7;
    width: 40%;
    max-width: 40%;
}

.drag-handle {
    cursor: move;
    color: #999;
    font-size: 18px;
    position: absolute;
    right: 90px;
}

.arrow-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    color: #aaa;
}

.arrow-up {
    right: 50px;
}

.arrow-down {
    right: 10px;
}

.delete-bottom-btn {
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    width: 20%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.delete-bottom-btn:hover {
    background-color: #d32f2f;
}